| C# |
|---|
| public Object GetValue(String propertyName) |
| C# |
|---|
using LJCNetCommon; // Initialize LJCReflect outside of loop. var mReflect = new LJCReflect(records[0]); foreach var record in records) { // Use SetSource to change the data record. mReflect.SetSource(record); var value = mReflect.GetValue("LastName"); } |